package com.wsjzzcbq.qianyuan.sys.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wsjzzcbq.qianyuan.common.bean.BasicBean;
import lombok.*;

/**
 * Menu
 *
 * @author wsjz
 * @date 2022/03/10
 */
@TableName("q_menu")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
public class Menu extends BasicBean {

    private String name;

    private String title;

    private String icon;

    private String path;

    private String component;

    private String redirect;

    private Boolean hidden;

    private Integer sort;

    private Long parentId;

    /**
     * 菜单类型 1 一级菜单 2 子菜单
     */
    private Integer type;
}
